<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>挺赞88洗衣</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
	<link rel="stylesheet" href="__PUBLIC__/client/css/cui.css?sj={$tj}" />
	<link rel="stylesheet" href="__PUBLIC__/client/css/style.css?sj={$tj}" />
	<link rel="stylesheet" href="__PUBLIC__/client/css/swiper.min.css" />
	<script type="text/javascript" src="__PUBLIC__/client/js/jquery.js"></script>
	<script type="text/javascript" src="__PUBLIC__/client/js/swiper.jquery.min.js"></script>
	<style>
		.bd0 .row2{background: #fff;overflow: hidden;padding:0 12px;}
		.bd0 .row3{background: #fff;overflow: hidden;padding:0 12px; margin-top: 10px;}
		.swiper-container {
	        width: 100%;
	        height: 115px;
	    }
	    .swiper-slide img{ width: 100%;}
	    .tips{ height: 20px; background: #ff3366; text-align: center; }
	</style>
</head>
<body class="index">
	<div class="viewport">
		<header>
			<a href="" class="city">{$session.user.city|default='正在获取你的城市...'}</a>
            <div class="pic">
                <img src="__PUBLIC__/client/images/txt.png" alt="">
            </div>
		</header>
		<!--end header-->
		<div id="bd" class="bd0 fix">
			<div class="banner">
                <div class="swiper-container">
			        <div class="swiper-wrapper">
			        		<volist name="indexalbum" id="vo">
			        			<div class="swiper-slide"><a href="{:U('Client/index/onlinenews')}"><img src="{$vo.imgurl}" alt=""></a></div>
			        		</volist>
			        </div>
			        <!-- Add Pagination -->
			        <div class="swiper-pagination"></div>
			    </div>
            </div>
            <div class="row1">
                <ul class="ul-menu1">
                    <li class="li1">
                    	<div class="newIcon"><small>热</small></div>
                        <a href="{:U('Client/index/poorwash_jian')}">普洗袋洗</a>
                    </li>
                    <li class="li2">
                    	<div class="newIcon"><small>快</small></div>
                        <a href="{:U('Client/index/brandwash')}">精洗快洗</a>
                    </li>
                   
                    <li class="li3">
                        <a href="{:U('Client/index/shoeswash')}">洗鞋</a>
                    </li>
                    <li class="li4">
                    	<div class="newIcon"><small>新</small></div>
                        <a href="{:U('Client/index/curewash')}">洗涤救治</a>
                    </li>
                </ul>
                <div class="itt"><i class="l"></i><span>挺赞服务</span><i class="r"></i></div>
            </div>
            <div class="c"></div>
            <div class="row2">
                <ul class="ul-menu1 ul-menu2">
                    <li class="li1" style="border-right:#dedede solid 1px; margin:8px 0 8px 0;">
                        <a href="{:U('Client/index/housekeeping')}">
                            家政服务
                            <span>您洗衣，我送家政</span>
                        </a>
                    </li>
                    <li class="li2" style="margin:8px 0 8px 0;">
                        <a href="{:U('Client/index/luxury')}">
                            奢侈品洗护
                        </a>
                    </li>
                </ul>
            </div>
            
            <div class="row3" style="margin-bottom: 10px;">
                <ul class="ul-menu1 ul-menu2">
                    <li class="li3" style="border-right:#dedede solid 1px; margin:8px 0 8px 0;">
                        <a href="{:U('Client/index/how_to_choose')}">
                            消费指引
                        </a>
                    </li>
                    <li class="li4" style="margin:8px 0 8px 0;">
                        <a href="http://eqxiu.com/s/llnTtPKT">
                            如何洗涤
                        </a>
                    </li>
                </ul>
            </div>
            
            
		</div>
		<div class="c"></div>
		<!--end #bd-->
		<footer>
			<div class="fd-nv">
				<ul>
					<li class="s1 on"><a href="{:U('Client/index/index')}">首页</a></li>
					<li class="s2"><a href="{:U('Client/order/orderlist')}">订单</a></li>
					<li class="s3"><a href="{:U('Client/wo/index')}">我的</a></li>
				</ul>
			</div>
		</footer>
	</div>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
$(function(){
var h=$(window).height();
$('.index').css('height',h);
});


var swiper = new Swiper('.swiper-container', {
    pagination: '.swiper-pagination',
    paginationClickable: true,
    autoplay: 3000
});
    
//========
wx.config({
    //debug: true,
    appId: '{$jsapi.appId}',
    timestamp: '{$jsapi.timestamp}',
    nonceStr: '{$jsapi.nonceStr}',
    signature: '{$jsapi.signature}',
    jsApiList: [
      	//所有要调用的 API 都要加到这个列表中
		  'getLocation',
		   'onMenuShareTimeline',
	        'onMenuShareAppMessage',
	        'onMenuShareQQ',
	        'onMenuShareWeibo',
	        'onMenuShareQZone'
    ]
  });

wx.ready(function () {
	  //  获取当前地理位置
	  $city='{$session.user.city}';
	  if(!$city){
	    wx.getLocation({
	      success: function (res) {
	      		 var tourl="{:U('Client/api/get_city')}";
       			 $.post(tourl,res,function(data){
       			 	if(data.status==1){
       			 		$('.city').html(data.msg);
       			 	}else{
       			 		//Msg('请检查您的GPS定位是否开启!',2);
       			 	}
				 });
	      },
	      cancel: function (res) {
	      		
	      }
	    });
	}
	  
/*========================================================*/	  
	 //2.1 监听“分享给朋友”，按钮点击、自定义分享内容及分享结果接口
    wx.onMenuShareAppMessage({
      title: '只因您挺我，我洁净所能"',
      desc: '重要的事情说三遍：挺赞88洗衣，不只是安全，洗衣还挣钱，下一位是你？',
      link: 'http://wx.tingzan88.com/client',
      imgUrl: 'http://wx.tingzan88.com//Public/client/images/share_img.jpg',
      success: function (res){
      },
      cancel: function (res){
      }
    });
	//2.2 监听“分享到朋友圈”按钮点击、自定义分享内容及分享结果接口
    wx.onMenuShareTimeline({
      title: '只因您挺我，我洁净所能',
      link: 'http://wx.tingzan88.com/client',
      imgUrl: '{$Think.session.set.url}/Public/client/images/share_img.jpg',
      success: function (res){
        
      },
      cancel: function (res){
        
      }
    });
    //================
});

</script>
</body>
</html>